package ${package.Service};

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.biao.transaction.example.dto.SearchDTO;
import ${package.Entity}.${entity};
import ${superServiceClassPackage};

/**
 * <p>
 * ${table.comment!} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if kotlin>
interface ${table.serviceName} : ${superServiceClass}<${entity}>
<#else>
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {

     /**
     * @description: 分页获取${table.comment!}列表
     * @author:${author}
     * @createTime:${date}
     * @version：1.0
     * @param searchDTO
     * @return
     **/
     IPage<${entity}> getPage(SearchDTO searchDTO);

     /**
      * @description: 删除记录
      * @author:${author}
      * @createTime:${date}
      * @version：1.0
      * @param id
      * @return
      **/
    boolean delete(Integer id);
}
</#if>
